<template>
  <div class="banner">
    <div v-show="0" class="content banner__default"></div>
    <div v-show="1"  class="content banner__warning fy-flex fy-flex__center">
      <div class="icon_warnning fy-flex fy-flex__center">
        <img src="../../assets/screen/icon_warnning.png"/>
      </div>
      <div style="flex: 1"></div>
      <div class="btn_mute fy-flex fy-flex__center">
        <img src="../../assets/screen/btn_mute.png"/>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  // 全局感知
  name: "",

  // 模板依赖
  components: {},
  filters: {},

  // 接口
  props: {},

  // 本地状态
  data() {
    return {};
  },
  computed: {},
  // 事件
  watch: {},
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  beforeUpdate() {},
  updated() {},
  beforeDestroy() {},
  destroyed() {},
  // 非响应式的属性
  methods: {}
};
</script>

<style lang="scss" scoped>
.banner {
  margin: 0.5rem auto 1rem auto;
  position: relative;
  width: 100%;
  height: 2rem;
  .content {
    position: relative;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -moz-background-size: 100% 100%;
  }
  .banner__default {
    background-image: url(../../assets/screen/bg_banner_s1.png);
  }
  .banner__warning {
    background-image: url(../../assets/screen/bg_banner_s2.png);
    .icon_warnning {
      position: relative;
      width: 8.5%;
      height: 100%;
    }
    .btn_mute {
      position: relative;
      width: 8.5%;
      height: 100%;
    }
    img {
      position: relative;
      height: 60%;
    }
  }
}
</style>
